package com.suse.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("product")
public class Product extends Model<Product> implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(value = "product_id",type = IdType.AUTO)
    private Integer productId;
    @TableField(value = "product_name")
    private String productName;
    @TableField(value = "product_type")
    private Integer productType;
    @TableField(value = "product_value")
    private Integer productValue;
}
